class Commentaire < ActiveRecord::Base
  belongs_to :actu, :counter_cache =>true
  belongs_to :electeur
  validates_presence_of :contenu
  validates_length_of :contenu, :in => 1..150
end
